package com.isp.org.server.application.facade;

import com.isp.org.server.domain.entity.UserGroupEntity;
import com.isp.org.server.domain.service.UserGroupService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/3/14 10:08
 */
@Slf4j
@Service
@RequiredArgsConstructor
public class UserGroupFacade {

    private final UserGroupService userGroupService;

    public List<UserGroupEntity> selectByUserId(Long userId) {
        return userGroupService.selectByUserId(userId);
    }

}
